<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>安全</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="wrappers.expect.html">expect://</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="security.intro.html">简介</a></div>
 <div class="up"><a href="index.html">PHP 手册</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="security" class="book">
  <h1 class="title">安全</h1>
  



 



  



  



  








  




  



  




  



  




  



  




  



  




  



  








  








  



  




  








 <ul class="chunklist chunklist_book"><li><a href="security.intro.html">简介</a></li><li><a href="security.general.html">总则</a></li><li><a href="security.cgi-bin.html">以 CGI 模式安装时</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="security.cgi-bin.attacks.html">可能受到的攻击</a></li><li><a href="security.cgi-bin.default.html">情形一：只运行公开的文件</a></li><li><a href="security.cgi-bin.force-redirect.html">情形二：使用 --enable-force-cgi-redirect 选项</a></li><li><a href="security.cgi-bin.doc-root.html">情形三：设置 doc_root 或 user_dir</a></li><li><a href="security.cgi-bin.shell.html">情形四：PHP 解释器放在 web 目录以外</a></li></ul></li><li><a href="security.apache.html">以 Apache 模块安装时</a></li><li><a href="security.filesystem.html">文件系统安全</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="security.filesystem.nullbytes.html">Null 字符问题</a></li></ul></li><li><a href="security.database.html">数据库安全</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="security.database.design.html">设计数据库</a></li><li><a href="security.database.connection.html">连接数据库</a></li><li><a href="security.database.storage.html">加密存储模型</a></li><li><a href="security.database.sql-injection.html">SQL 注入</a></li></ul></li><li><a href="security.errors.html">错误报告</a></li><li><a href="security.globals.html">使用 Register Globals</a></li><li><a href="security.variables.html">用户提交的数据</a></li><li><a href="security.magicquotes.html">魔术引号</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="security.magicquotes.what.html">什么是魔术引号</a></li><li><a href="security.magicquotes.why.html">为什么要用魔术引号</a></li><li><a href="security.magicquotes.whynot.html">为什么不用魔术引号</a></li><li><a href="security.magicquotes.disabling.html">关闭魔术引号</a></li></ul></li><li><a href="security.hiding.html">隐藏 PHP</a></li><li><a href="security.current.html">保持更新</a></li></ul></div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="wrappers.expect.html">expect://</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="security.intro.html">简介</a></div>
 <div class="up"><a href="index.html">PHP 手册</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
